home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 3⁄2⁄90 / 0802-Re Popup menu name l-Mar90 < prev    next >
Encoding:
Text File  |  1990-03-02  |  1.2 KB  |  38 lines  |  [TEXT/GEOL]

  1. Item    2242723                         2-March-90        17:38PST
  2.  
  3. From:   MOOF                            Rollin, Keith A
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    RE>Popup menu name length
  8.  
  9. Attn: Stat-Ease, Robert Altman,PRT
  10. SentBy: Keith Rollin
  11.          Reply to:   RE>Popup menu name length
  12. Robert,
  13.  
  14. If you are creating your popups with 'view' resources, you set the width of
  15. the popup label by using the correct value in the "Item left offset" field. In
  16. the ViewTypes.r file, this is defined by the line that looks like:
  17.  
  18.    /* Item left offset */      integer
  19.  
  20. and corresponds to the last number you specify in your Popup view
  21. specification. For example, here is a line from DemoDialogs that sets this
  22. field to 50:
  23.  
  24.        Popup { "", noAdornment, notSizeable, notDimmed, notHilited,
  25.         doesntDismiss, noInset, systemFont, kParityPopup, 1, 50 }
  26.  
  27. If you are creating views procedurally, you pass the offset as the last
  28. parameter to IPopup (as "itsItemOffset").
  29.  
  30. So how do you know that 50 is the right value? Trial and error... This is
  31. something we might want to look at in future versions of MacApp.
  32.  
  33. - Keith Rollin
  34. - Apple Developer Technical Support
  35.  
  36.  
  37.  
  38.